const systemRoutes =
    {
        name: "system",
        path: "/system",
        meta: {
            icon: "Setting",
            title: "系统管理",
            isMenu: true,
            role:['root']
        },
        isHidden: false,
        redirect: "/system/role",
        children: [
            {
                name: "role",
                path: "role",
                component: () => import("@/views/system/Role.vue"),
                meta: {
                    icon: "UserFilled",
                    title: "角色管理",
                    isMenu: true,
                    role:['root']
                },
                isHidden: false,
                children: []
            },
            {
                name: "permission",
                path: "permission",
                component: () => import("@/views/system/Permission.vue"),
                meta: {
                    icon: "Lock",
                    title: "权限管理",
                    isMenu: true,
                    role:['root']
                },
                isHidden: false,
                children: []
            },
            {
                name: "user",
                path: "user",
                component: () => import("@/views/system/User.vue"),
                meta: {
                    icon: "House",
                    title: "用户管理",
                    isMenu: true,
                    role:['root']
                },
                isHidden: false,
                children: []
            },
        ]
    }

export default systemRoutes